//
//  WSAddWorkHeadView.m
//  LANGirl
//
//  Created by 吴帅 on 16/4/2.
//
//

#import "WSAddWorkHeadView.h"

@interface WSAddWorkHeadView ()

@property (nonatomic, strong) UILabel *titleLabel;

@end

@implementation WSAddWorkHeadView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.titleLabel = [[UILabel alloc] init];
        self.titleLabel.textColor = HS;
        self.titleLabel.font = [UIFont fontWithName:ZIXING size:TEXTCONTENTFONT*TEXTWEIGHT];
        [self addSubview:_titleLabel];
        [self.titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            
            make.top.bottom.mas_equalTo(@0);
            make.left.mas_equalTo(15 * AUTO_WIDTH);
            make.right.mas_equalTo(-15 * AUTO_WIDTH);
        }];
    }
    return self;
}

- (void)setTitleStr:(NSString *)titleStr {

    _titleStr = titleStr;
    self.titleLabel.text = _titleStr;
}

@end
